3.97 \(\int x^8 (a+b \tan ^{-1}(c x^3)) \, dx\)

Optimal. Leaf size=47 \[ \frac{1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )+\frac{b \log \left (c^2 x^6+1\right )}{18 c^3}-\frac{b x^6}{18 c} \]

[Out]

-(b*x^6)/(18*c) + (x^9*(a + b*ArcTan[c*x^3]))/9 + (b*Log[1 + c^2*x^6])/(18*c^3)

________________________________________________________________________________________

Rubi [A]  time = 0.036474, antiderivative size = 47, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {5033, 266, 43} \[ \frac{1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )+\frac{b \log \left (c^2 x^6+1\right )}{18 c^3}-\frac{b x^6}{18 c} \]

Antiderivative was successfully verified.

[In]

Int[x^8*(a + b*ArcTan[c*x^3]),x]

[Out]

-(b*x^6)/(18*c) + (x^9*(a + b*ArcTan[c*x^3]))/9 + (b*Log[1 + c^2*x^6])/(18*c^3)

Rule 5033

Int[((a_.) + ArcTan[(c_.)*(x_)^(n_)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*ArcTan
[c*x^n]))/(d*(m + 1)), x] - Dist[(b*c*n)/(d*(m + 1)), Int[(x^(n - 1)*(d*x)^(m + 1))/(1 + c^2*x^(2*n)), x], x]
/; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin{align*} \int x^8 \left (a+b \tan ^{-1}\left (c x^3\right )\right ) \, dx &=\frac{1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )-\frac{1}{3} (b c) \int \frac{x^{11}}{1+c^2 x^6} \, dx\\ &=\frac{1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )-\frac{1}{18} (b c) \operatorname{Subst}\left (\int \frac{x}{1+c^2 x} \, dx,x,x^6\right )\\ &=\frac{1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )-\frac{1}{18} (b c) \operatorname{Subst}\left (\int \left (\frac{1}{c^2}-\frac{1}{c^2 \left (1+c^2 x\right )}\right ) \, dx,x,x^6\right )\\ &=-\frac{b x^6}{18 c}+\frac{1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )+\frac{b \log \left (1+c^2 x^6\right )}{18 c^3}\\ \end{align*}

Mathematica [A]  time = 0.0134892, size = 52, normalized size = 1.11 \[ \frac{a x^9}{9}+\frac{b \log \left (c^2 x^6+1\right )}{18 c^3}-\frac{b x^6}{18 c}+\frac{1}{9} b x^9 \tan ^{-1}\left (c x^3\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^8*(a + b*ArcTan[c*x^3]),x]

[Out]

-(b*x^6)/(18*c) + (a*x^9)/9 + (b*x^9*ArcTan[c*x^3])/9 + (b*Log[1 + c^2*x^6])/(18*c^3)

________________________________________________________________________________________

Maple [A]  time = 0.023, size = 45, normalized size = 1. \begin{align*}{\frac{{x}^{9}a}{9}}+{\frac{b{x}^{9}\arctan \left ( c{x}^{3} \right ) }{9}}-{\frac{b{x}^{6}}{18\,c}}+{\frac{b\ln \left ({c}^{2}{x}^{6}+1 \right ) }{18\,{c}^{3}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^8*(a+b*arctan(c*x^3)),x)

[Out]

1/9*x^9*a+1/9*b*x^9*arctan(c*x^3)-1/18*b*x^6/c+1/18*b*ln(c^2*x^6+1)/c^3

________________________________________________________________________________________

Maxima [A]  time = 1.05226, size = 65, normalized size = 1.38 \begin{align*} \frac{1}{9} \, a x^{9} + \frac{1}{18} \,{\left (2 \, x^{9} \arctan \left (c x^{3}\right ) -{\left (\frac{x^{6}}{c^{2}} - \frac{\log \left (c^{2} x^{6} + 1\right )}{c^{4}}\right )} c\right )} b \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8*(a+b*arctan(c*x^3)),x, algorithm="maxima")

[Out]

1/9*a*x^9 + 1/18*(2*x^9*arctan(c*x^3) - (x^6/c^2 - log(c^2*x^6 + 1)/c^4)*c)*b

________________________________________________________________________________________

Fricas [A]  time = 2.65607, size = 115, normalized size = 2.45 \begin{align*} \frac{2 \, b c^{3} x^{9} \arctan \left (c x^{3}\right ) + 2 \, a c^{3} x^{9} - b c^{2} x^{6} + b \log \left (c^{2} x^{6} + 1\right )}{18 \, c^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8*(a+b*arctan(c*x^3)),x, algorithm="fricas")

[Out]

1/18*(2*b*c^3*x^9*arctan(c*x^3) + 2*a*c^3*x^9 - b*c^2*x^6 + b*log(c^2*x^6 + 1))/c^3

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**8*(a+b*atan(c*x**3)),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [A]  time = 1.13653, size = 63, normalized size = 1.34 \begin{align*} \frac{2 \, a c x^{9} +{\left (2 \, c x^{9} \arctan \left (c x^{3}\right ) - x^{6} + \frac{\log \left (c^{2} x^{6} + 1\right )}{c^{2}}\right )} b}{18 \, c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8*(a+b*arctan(c*x^3)),x, algorithm="giac")

[Out]

1/18*(2*a*c*x^9 + (2*c*x^9*arctan(c*x^3) - x^6 + log(c^2*x^6 + 1)/c^2)*b)/c